<?php
// +----------------------------------------------------------------------
// | sfadmin - Suifeng Administration
// +----------------------------------------------------------------------
// | Copyright (c) 2017-2020 http://suifeng.tech All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: suifeng <1787585212@qq.com>
// +----------------------------------------------------------------------

namespace app\wechat\common;

use app\admin\common\AdminException;

class WechatException extends AdminException
{
    public function __construct($wxobj)
    {
        parent::__construct($wxobj->getErrMsg(), $wxobj->getErrCode());
    }
}